//
//  Singleton.m
//  Moment
//
//  Created by dllo on 15/12/21.
//  Copyright © 2015年 谭泽源. All rights reserved.
//

#import "Singleton.h"

@implementation Singleton


+ (instancetype)shareDataBase
{
    static Singleton *singleton = nil;
    
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        singleton = [[Singleton alloc] init];
        [singleton createSubviews];
    });
    
    return singleton;
    
}




- (void)createSubviews
{
    
    self.animationArray = [NSMutableArray array];
    
}






@end
